import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
//        写个回文数
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        if (isPalindrome(n)){
            System.out.println("是");
        } else {
            System.out.println("不是");
        }
    }

    private static boolean isPalindrome(int n) {
//        判断回文数
        if (n < 0){
            return false;
        }
        int n1 = n;
        int n2 = 0;
        while(n != 0){
            int n3 = n % 10;
            n2 = n2*10 + n3;
            n /= 10;
        }
        return n2 == n1;
    }
}
